-- GENERATED SPELL FOR [Scale Belly] --


function spell0_1552(pUnit, Event) --@Crystal Flash,n/a--
pUnit:FullCastSpellOnTarget(5106,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1552', 17000, 1)
end

function Sorts_1552(pUnit, Event)
local choix_sorts_1552 = math.random(0, 0)
if choix_sorts_1552 == 0 then
pUnit:RegisterEvent('spell0_1552', 1, 1)
end
end

function mob1552_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1552', math.random(1500, 3000), 1)
end

function mob1552_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1552_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1552_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1552, 1, 'mob1552_Action')
RegisterUnitEvent(1552, 2, 'mob1552_Leave')
RegisterUnitEvent(1552, 3, 'mob1552_Kill')
RegisterUnitEvent(1552, 4, 'mob1552_Die')
